The ColorPicker Component > FColorPicker.setEnabled()

 

FColorPicker.setEnabled()

Availability

Flash Player 6.

Usage

myPicker_cp.setEnabled (boolean)

Parameters

boolean - True if ColorPicker is turned on, false otherwise

Returns

Nothing.

Description

Determines whether the ColorPicker is currently usable by the user.

Example

The following code turns the ColorPicker component off:

myPicker_cp.setEnabled(false);